“Sanity test” 指“基本健全性测试/快速冒烟级检查”:在更全面的测试之前,用少量关键用例快速确认系统或某个功能在最核心路径上“没有明显坏掉”,以决定是否值得继续进行更深入的测试。(在软件工程语境中最常见;在其他领域也可泛指“快速核对是否合理”。)
/ˈsænəti tɛst/
After the update, we ran a quick sanity test to make sure the app could still log in and load the home page.
更新后,我们做了一个快速的健全性测试,确认应用仍然可以登录并加载首页。
Before spending hours on full regression, do a sanity test on the critical workflow to catch obvious failures early.
在花几个小时做完整回归测试之前,先对关键流程做一次健全性测试,以便尽早发现明显故障。
“Sanity” 原意为“神志清醒、理智、健全”,来自拉丁语 sanitas(健康、健全)。与 “test”(测试)组合后,“sanity test” 直译就是“健全性检查/测试”,强调“先确认基本状态正常”,而不是追求覆盖所有细节。
“Sanity test” 更常见于软件工程与技术写作(而非传统文学小说)。例如以下经典技术著作中常可见该术语或同类用法(用于讨论发布前的快速检查与测试策略):